Skip to content

[repo-assist] ci: add Linux scriptgen integration test job - #4396

Open
dsyme wants to merge 1 commit into
masterfrom
repo-assist/ci-enable-scriptgen-integration-tests-2-f9e2839c2fb6bb1f
Open

[repo-assist] ci: add Linux scriptgen integration test job#4396
dsyme wants to merge 1 commit into
masterfrom
repo-assist/ci-enable-scriptgen-integration-tests-2-f9e2839c2fb6bb1f

Conversation

@dsyme

@dsyme dsyme commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Enables the previously-disabled scriptgen integration test suite (TestCategory=scriptgen)
via the existing QuickIntegrationTests FAKE target, on Ubuntu with Mono and the
.NET 8 runtime installed alongside the repo's pinned SDK.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Enables the previously-disabled scriptgen integration test suite (TestCategory=scriptgen)
via the existing QuickIntegrationTests FAKE target, on Ubuntu with Mono and the
.NET 8 runtime installed alongside the repo's pinned SDK.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dsyme

dsyme commented Aug 29, 2026

Copy link
Copy Markdown
Contributor Author

/repo-assist Fix these CI test errors or disable the tests and add issues about them

Failed!  - Failed:     3, Passed:     9, Skipped:     1, Total:    13, Duration: 26 s - Paket.IntegrationTests.dll (net9.0)
  Failed simple dependencies generates expected scripts [3 s]
  Error Message:
   Paket.IntegrationTests.TestHelpers+ProcessFailedWithExitCode : The process '/home/runner/work/Paket/Paket/bin/net461/paket.exe' exited with code 1, output: 
OUT:Paket version 10.3.1+6e94c258c4e17d8d433f5d1fe8b9f5b7aeae50d5
OUT:Please use the new syntax: 'framework' has been replaced by '--framework'.
OUT:Could not detect any platforms from 'net20-cf' in '/home/runner/work/Paket/Paket/integrationtests/scenarios/loading-scripts/simple-dependencies/temp/packages/log4net/lib/net20-cf/log4net.dll', please tell the package authors
OUT:Total time taken: 0 milliseconds
OUT:Paket omitted 1 warnings. You can see them in verbose mode.
ERR:Paket failed with
ERR:-> DirectoryNotFoundException: Could not find a part of the path "/home/runner/work/Paket/Paket/integrationtests/scenarios/loading-scripts/simple-dependencies/temp/packages/NUnit/lib/nunit.framework.dll".
ERR:   StackTrace:
ERR:       at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x001ac] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
ERR:       at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
ERR:       at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
ERR:       at Mono.Cecil.ModuleDefinition.GetFileStream (System.String fileName, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00006] in <ef1eb9b958e34b98b2ff504a924c949d>:0 
ERR:       at Mono.Cecil.ModuleDefinition.ReadModule (System.String fileName, Mono.Cecil.ReaderParameters parameters) [0x00008] in <ef1eb9b958e34b98b2ff504a924c949d>:0 
ERR:       at Mono.Cecil.ModuleDefinition.ReadModule (System.String fileName) [0x00007] in <ef1eb9b958e34b98b2ff504a924c949d>:0 
ERR:       at Mono.Cecil.AssemblyDefinition.ReadAssembly (System.String fileName) [0x00000] in <ef1eb9b958e34b98b2ff504a924c949d>:0 
ERR:       at <StartupCode$Paket-Core>.$DependencyCache+dllFiles@109.Invoke (System.String path) [0x00001] in <98081f8f706f0ec5e7e415feed38f51d>:0 
ERR:       at Microsoft.FSharp.Collections.Internal+IEnumerator+choose@240[T,TResult].System.Collections.IEnumerator.MoveNext () [0x00045] in <69b4f8a64160cdeb146cd50627c89bbd>:0 
ERR:       at Microsoft.FSharp.Core.ExtraTopLevelOperators.dictRefType[TKey,T] (System.Collections.Generic.IEnumerable`1[T] l) [0x0004d] in <69b4f8a64160cdeb146cd50627c89bbd>:0 
ERR:       at Microsoft.FSharp.Core.ExtraTopLevelOperators.CreateDictionary[TKey,TValue] (System.Collections.Generic.IEnumerable`1[T] keyValuePairs) [0x00019] in <69b4f8a64160cdeb146cd50627c89bbd>:0 
ERR:       at Paket.DependencyCache.getDllsWithinPackage (Paket.FrameworkIdentifier framework, Paket.InstallModel installModel) [0x00020] in <98081f8f706f0ec5e7e415feed38f51d>:0 
ERR:       at Paket.DependencyCache.GetOrderedPackageReferences (Paket.Domain+GroupName groupName, Paket.Domain+PackageName packageName, Paket.FrameworkIdentifier framework) [0x00046] in <98081f8f706f0ec5e7e415feed38f51d>:0 
ERR:       at Paket.LoadingScripts+ScriptGeneration+generateScriptContent@214-1.Invoke (System.Tuple`2[T1,T2] _arg3, Paket.PackageResolver+PackageInfo package) [0x00055] in <98081f8f706f0ec5e7e415feed38f51d>:0 
ERR:       at Microsoft.FSharp.Collections.SeqModule.Fold[T,TState] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] folder, TState state, System.Collections.Generic.IEnumerable`1[T] source) [0x0002f] in <69b4f8a64160cdeb146cd50627c89bbd>:0 
ERR:       at Paket.LoadingScripts+ScriptGeneration+generateScriptContent@211.Invoke (System.Tuple`2[T1,T2] tupledArg) [0x00041] in <98081f8f706f0ec5e7e415feed38f51d>:0 
ERR:       at Microsoft.FSharp.Collections.Internal+IEnumerator+map@128[a,b].DoMoveNext (b& curr) [0x00020] in <69b4f8a64160cdeb146cd50627c89bbd>:0 
ERR:       at Microsoft.FSharp.Collections.Internal+IEnumerator+MapEnumerator`1[T].System.Collections.IEnumerator.MoveNext () [0x0000c] in <69b4f8a64160cdeb146cd50627c89bbd>:0 
ERR:       at Microsoft.FSharp.Collections.SeqModule.ToList[T] (System.Collections.Generic.IEnumerable`1[T] source) [0x00042] in <69b4f8a64160cdeb146cd50627c89bbd>:0 
ERR:       at Paket.LoadingScripts+ScriptGeneration.generateScriptContent (Paket.LoadingScripts+ScriptGeneration+PaketContext ctx) [0x0006a] in <98081f8f706f0ec5e7e415feed38f51d>:0 
ERR:       at Paket.LoadingScripts+ScriptGeneration.constructScriptsFromData (Paket.DependencyCache depCache, Microsoft.FSharp.Collections.FSharpList`1[T] groups, Microsoft.FSharp.Collections.FSharpList`1[T] providedFrameworks, Microsoft.FSharp.Collections.FSharpList`1[T] providedScriptTypes) [0x00267] in <98081f8f706f0ec5e7e415feed38f51d>:0 
ERR:       at Paket.Dependencies.GenerateLoadScriptData (System.String paketDependencies, Microsoft.FSharp.Collections.FSharpList`1[T] groups, Microsoft.FSharp.Collections.FSharpList`1[T] frameworks, Microsoft.FSharp.Collections.FSharpList`1[T] scriptTypes) [0x00013] in <98081f8f706f0ec5e7e415feed38f51d>:0 
ERR:       at Paket.Dependencies.GenerateLoadScripts (Microsoft.FSharp.Collections.FSharpList`1[T] groups, Microsoft.FSharp.Collections.FSharpList`1[T] frameworks, Microsoft.FSharp.Collections.FSharpList`1[T] scriptTypes) [0x00000] in <98081f8f706f0ec5e7e415feed38f51d>:0 
ERR:       at Paket.Program+handleCommand@913-27.Invoke (Argu.ParseResults`1[Template] results) [0x00000] in <e996e6ec0b78e1b0c05232aad939d316>:0 
ERR:       at Paket.Program.processWithValidationEx[a] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] printUsage, System.Boolean silent, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] validateF, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] commandF, a result) [0x0004f] in <e996e6ec0b78e1b0c05232aad939d316>:0 
ERR:       at Paket.Program.processWithValidation[T] (System.Boolean silent, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] validateF, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] commandF, Argu.ParseResults`1[Template] result) [0x00000] in <e996e6ec0b78e1b0c05232aad939d316>:0 
ERR:       at Paket.Program.processCommand[a] (System.Boolean silent, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] commandF, Argu.ParseResults`1[Template] result) [0x00000] in <e996e6ec0b78e1b0c05232aad939d316>:0 
ERR:       at Paket.Program.handleCommand (System.Boolean silent, Paket.Commands+Command command) [0x00393] in <e996e6ec0b78e1b0c05232aad939d316>:0 
ERR:       at Paket.Program.main () [0x006a0] in <e996e6ec0b78e1b0c05232aad939d316>:0 
  Stack Trace:
    at Paket.IntegrationTests.TestHelpers.directToolEx (System.Collections.Generic.IEnumerable`1[T] env, System.Boolean isPaket, System.String host, System.String path, System.String commands, System.String workingDir) [0x00303] in <1b4914dc641b436e92bedddfb617b7f6>:0 
  at Paket.IntegrationTests.TestHelpers.directPaketInPathEx (System.String command, System.String scenarioPath) [0x0001a] in <1b4914dc641b436e92bedddfb617b7f6>:0 
  at Paket.IntegrationTests.TestHelpers.directPaket (System.String command, System.String scenario) [0x00011] in <1b4914dc641b436e92bedddfb617b7f6>:0 
  at Paket.IntegrationTests.LoadingScriptGenerationTests.simple dependencies generates expected scripts () [0x00049] in <1b4914dc641b436e92bedddfb617b7f6>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007c] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 

Failed!  - Failed:     5, Passed:     7, Skipped:     1, Total:    13, Duration: 25 s - Paket.IntegrationTests.dll (net461)
Running build failed.
Error:
System.Exception: Test failed on "test" "integrationtests/Paket.IntegrationTests/Paket.IntegrationTests.fsproj" --configuration Release --filter TestCategory=scriptgen 
  at Fake.DotNetCli+Test@298-3.Invoke (System.String message) [0x00000] in <5c90a2e0ccf1c534a7450383e0a2905c>:0 
  at Fake.DotNetCli.Test (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] setTestParams) [0x001da] in <5c90a2e0ccf1c534a7450383e0a2905c>:0 
  at FSI_0005.Build+clo@268-22.Invoke (Microsoft.FSharp.Core.Unit _arg6) [0x00006] in <04938005290e4727b741d74d589d0546>:0 
  at Fake.TargetHelper.runSingleTarget (Fake.TargetHelper+TargetTemplate`1[a] target) [0x00049] in <5c90a2e0ccf1c534a7450383e0a2905c>:0 


@github-actions

github-actions Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

✓ Repo Assist completed successfully, see workflow run.

Generated by 🌈 Repo Assist, see workflow run. Learn more.

@github-actions

Copy link
Copy Markdown
Contributor

Created related issue: #4399

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant